HTMLify
style.css
Views: 17 | Author: huxn-webdev
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | * { left: 0; top: 0; } body { display: grid; place-items: center; } .container { display: grid; place-items: center; background: white; width: 98vw; height: 80vh; } #box { background: #fff; max-width: 80%; height: 20rem; box-shadow: 5px 10px 10px 2px #333; margin-bottom: 10%; border-radius: 10px; } #css-code { width: 40%; padding: 10px; border-radius: 0; margin-top: 20px; border: none; border-bottom: 1px solid; } #shadowcolor { width: 70%; border: none; margin-top: 20px; } #copy { background: transparent; border: none; border: 1px solid black; padding: 10px 20px; cursor: pointer; font-weight: bold; transition: 0.5s ease; } #copy:hover { background-color: crimson; color: #fff; border: none; } |